[INFO] cloning repository https://github.com/seifhaider/ds210finalproject
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seifhaider/ds210finalproject" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseifhaider%2Fds210finalproject", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseifhaider%2Fds210finalproject'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 068c307d92dd9a1fcd1a773f86bd1ec466ec5668
[INFO] checking seifhaider/ds210finalproject against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseifhaider%2Fds210finalproject" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/seifhaider/ds210finalproject
[INFO] finished tweaking git repo https://github.com/seifhaider/ds210finalproject
[INFO] tweaked toml for git repo https://github.com/seifhaider/ds210finalproject written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/seifhaider/ds210finalproject on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/seifhaider/ds210finalproject already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded scraper v0.13.0
[INFO] [stderr]   Downloaded ndarray-rand v0.14.0
[INFO] [stderr]   Downloaded assert_approx_eq v1.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1cd7243c0f6183762083061fcf032cc6a2143cbff8fc8ca57883236e5bd29b14
[INFO] running `Command { std: "docker" "start" "1cd7243c0f6183762083061fcf032cc6a2143cbff8fc8ca57883236e5bd29b14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1cd7243c0f6183762083061fcf032cc6a2143cbff8fc8ca57883236e5bd29b14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1cd7243c0f6183762083061fcf032cc6a2143cbff8fc8ca57883236e5bd29b14" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1cd7243c0f6183762083061fcf032cc6a2143cbff8fc8ca57883236e5bd29b14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1cd7243c0f6183762083061fcf032cc6a2143cbff8fc8ca57883236e5bd29b14" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling openssl-sys v0.9.107
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling libm v0.2.13
[INFO] [stderr]    Compiling siphasher v1.0.1
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]     Checking futf v0.1.5
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking phf_shared v0.10.0
[INFO] [stderr]     Checking dtoa v1.0.10
[INFO] [stderr]     Checking tendril v0.4.3
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]     Checking phf v0.10.1
[INFO] [stderr]     Checking dtoa-short v0.3.5
[INFO] [stderr]     Checking csv-core v0.1.12
[INFO] [stderr]     Checking ego-tree v0.6.3
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking assert_approx_eq v1.1.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking tokio v1.44.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]     Checking ndarray v0.15.6
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling phf_generator v0.10.0
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]    Compiling phf_codegen v0.10.0
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]    Compiling string_cache_codegen v0.5.4
[INFO] [stderr]    Compiling selectors v0.22.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling markup5ever v0.11.0
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling phf_macros v0.8.0
[INFO] [stderr]    Compiling cssparser v0.27.2
[INFO] [stderr]    Compiling html5ever v0.26.0
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling cssparser-macros v0.6.1
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking phf v0.8.0
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking ndarray-rand v0.14.0
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking string_cache v0.8.9
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking csv v1.3.1
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking scraper v0.13.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking football_clustering v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `reqwest::blocking`
[INFO] [stdout]    --> src/scraper.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout]   4 | use reqwest::blocking::Client;
[INFO] [stdout]     |              ^^^^^^^^ could not find `blocking` in `reqwest`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.27/src/lib.rs:352:13
[INFO] [stdout]     |
[INFO] [stdout] 351 |     #[cfg(feature = "blocking")]
[INFO] [stdout]     |           -------------------- the item is gated behind the `blocking` feature
[INFO] [stdout] 352 |     pub mod blocking;
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `env_logger`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use env_logger;
[INFO] [stdout]   |     ^^^^^^^^^^ no external crate `env_logger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `reqwest::blocking`
[INFO] [stdout]    --> src/scraper.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout]   4 | use reqwest::blocking::Client;
[INFO] [stdout]     |              ^^^^^^^^ could not find `blocking` in `reqwest`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.27/src/lib.rs:352:13
[INFO] [stdout]     |
[INFO] [stdout] 351 |     #[cfg(feature = "blocking")]
[INFO] [stdout]     |           -------------------- the item is gated behind the `blocking` feature
[INFO] [stdout] 352 |     pub mod blocking;
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `log`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use log::info;
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `log`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `env_logger`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use env_logger;
[INFO] [stdout]   |     ^^^^^^^^^^ no external crate `env_logger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope
[INFO] [stdout]   --> src/main.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |             log::error!("Scrape failed: {}. Loading from local CSV.", e);
[INFO] [stdout]    |             ^^^ use of unresolved module or unlinked crate `log`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `log`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use log::info;
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `log`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope
[INFO] [stdout]   --> src/main.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |             log::error!("Scrape failed: {}. Loading from local CSV.", e);
[INFO] [stdout]    |             ^^^ use of unresolved module or unlinked crate `log`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/scraper.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::Serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray_rand::RandomExt`
[INFO] [stdout]  --> src/clustering.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray_rand::RandomExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::seq::SliceRandom`
[INFO] [stdout]  --> src/clustering.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::seq::SliceRandom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/scraper.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::Serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray_rand::RandomExt`
[INFO] [stdout]  --> src/clustering.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray_rand::RandomExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::seq::SliceRandom`
[INFO] [stdout]  --> src/clustering.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::seq::SliceRandom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `random_subset` found for struct `ArrayBase<S, D>` in the current scope
[INFO] [stdout]   --> src/clustering.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 11 |       let mut centroids = data
[INFO] [stdout]    |  _________________________-
[INFO] [stdout] 12 | |         .select(Axis(0), &((0..n_samples).collect::<Vec<_>>()))
[INFO] [stdout] 13 | |         .random_subset(k, &mut thread_rng())
[INFO] [stdout]    | |         -^^^^^^^^^^^^^ method not found in `ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `random_subset` found for struct `ArrayBase<S, D>` in the current scope
[INFO] [stdout]   --> src/clustering.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 11 |       let mut centroids = data
[INFO] [stdout]    |  _________________________-
[INFO] [stdout] 12 | |         .select(Axis(0), &((0..n_samples).collect::<Vec<_>>()))
[INFO] [stdout] 13 | |         .random_subset(k, &mut thread_rng())
[INFO] [stdout]    | |         -^^^^^^^^^^^^^ method not found in `ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0593]: function is expected to take 1 argument, but it takes 2 arguments
[INFO] [stdout]     --> src/clustering.rs:26:47
[INFO] [stdout]      |
[INFO] [stdout]   26 |                     let da = (&row - &a).mapv(f64::powi).scalar_sum();
[INFO] [stdout]      |                                          ---- ^^^^^^^^^ expected function that takes 1 argument
[INFO] [stdout]      |                                          |
[INFO] [stdout]      |                                          required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] note: required by a bound in `ndarray::impl_methods::<impl ArrayBase<S, D>>::mapv`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/impl_methods.rs:2557:12
[INFO] [stdout]      |
[INFO] [stdout] 2555 |     pub fn mapv<B, F>(&self, mut f: F) -> Array<B, D>
[INFO] [stdout]      |            ---- required by a bound in this associated function
[INFO] [stdout] 2556 |     where
[INFO] [stdout] 2557 |         F: FnMut(A) -> B,
[INFO] [stdout]      |            ^^^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::<impl ArrayBase<S, D>>::mapv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `ndarray::numeric::impl_numeric::<impl ndarray::ArrayBase<S, D>>::scalar_sum`: renamed to `sum`
[INFO] [stdout]   --> src/clustering.rs:26:58
[INFO] [stdout]    |
[INFO] [stdout] 26 |                     let da = (&row - &a).mapv(f64::powi).scalar_sum();
[INFO] [stdout]    |                                                          ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0593]: function is expected to take 1 argument, but it takes 2 arguments
[INFO] [stdout]     --> src/clustering.rs:26:47
[INFO] [stdout]      |
[INFO] [stdout]   26 |                     let da = (&row - &a).mapv(f64::powi).scalar_sum();
[INFO] [stdout]      |                                          ---- ^^^^^^^^^ expected function that takes 1 argument
[INFO] [stdout]      |                                          |
[INFO] [stdout]      |                                          required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] note: required by a bound in `ndarray::impl_methods::<impl ArrayBase<S, D>>::mapv`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/impl_methods.rs:2557:12
[INFO] [stdout]      |
[INFO] [stdout] 2555 |     pub fn mapv<B, F>(&self, mut f: F) -> Array<B, D>
[INFO] [stdout]      |            ---- required by a bound in this associated function
[INFO] [stdout] 2556 |     where
[INFO] [stdout] 2557 |         F: FnMut(A) -> B,
[INFO] [stdout]      |            ^^^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::<impl ArrayBase<S, D>>::mapv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `ndarray::numeric::impl_numeric::<impl ndarray::ArrayBase<S, D>>::scalar_sum`: renamed to `sum`
[INFO] [stdout]   --> src/clustering.rs:26:58
[INFO] [stdout]    |
[INFO] [stdout] 26 |                     let da = (&row - &a).mapv(f64::powi).scalar_sum();
[INFO] [stdout]    |                                                          ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0593]: function is expected to take 1 argument, but it takes 2 arguments
[INFO] [stdout]     --> src/clustering.rs:27:47
[INFO] [stdout]      |
[INFO] [stdout]   27 |                     let db = (&row - &b).mapv(f64::powi).scalar_sum();
[INFO] [stdout]      |                                          ---- ^^^^^^^^^ expected function that takes 1 argument
[INFO] [stdout]      |                                          |
[INFO] [stdout]      |                                          required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] note: required by a bound in `ndarray::impl_methods::<impl ArrayBase<S, D>>::mapv`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/impl_methods.rs:2557:12
[INFO] [stdout]      |
[INFO] [stdout] 2555 |     pub fn mapv<B, F>(&self, mut f: F) -> Array<B, D>
[INFO] [stdout]      |            ---- required by a bound in this associated function
[INFO] [stdout] 2556 |     where
[INFO] [stdout] 2557 |         F: FnMut(A) -> B,
[INFO] [stdout]      |            ^^^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::<impl ArrayBase<S, D>>::mapv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `ndarray::numeric::impl_numeric::<impl ndarray::ArrayBase<S, D>>::scalar_sum`: renamed to `sum`
[INFO] [stdout]   --> src/clustering.rs:27:58
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     let db = (&row - &b).mapv(f64::powi).scalar_sum();
[INFO] [stdout]    |                                                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0593]: function is expected to take 1 argument, but it takes 2 arguments
[INFO] [stdout]     --> src/clustering.rs:27:47
[INFO] [stdout]      |
[INFO] [stdout]   27 |                     let db = (&row - &b).mapv(f64::powi).scalar_sum();
[INFO] [stdout]      |                                          ---- ^^^^^^^^^ expected function that takes 1 argument
[INFO] [stdout]      |                                          |
[INFO] [stdout]      |                                          required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] note: required by a bound in `ndarray::impl_methods::<impl ArrayBase<S, D>>::mapv`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/impl_methods.rs:2557:12
[INFO] [stdout]      |
[INFO] [stdout] 2555 |     pub fn mapv<B, F>(&self, mut f: F) -> Array<B, D>
[INFO] [stdout]      |            ---- required by a bound in this associated function
[INFO] [stdout] 2556 |     where
[INFO] [stdout] 2557 |         F: FnMut(A) -> B,
[INFO] [stdout]      |            ^^^^^^^^^^^^^ required by this bound in `ndarray::impl_methods::<impl ArrayBase<S, D>>::mapv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `ndarray::numeric::impl_numeric::<impl ndarray::ArrayBase<S, D>>::scalar_sum`: renamed to `sum`
[INFO] [stdout]   --> src/clustering.rs:27:58
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     let db = (&row - &b).mapv(f64::powi).scalar_sum();
[INFO] [stdout]    |                                                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> src/main.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let assignments = run_kmeans(&matrix, n_clusters).expect("Clustering failed");
[INFO] [stdout]    |                       ^^^^^^^^^^--------------------- argument #3 of type `usize` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/clustering.rs:7:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub fn run_kmeans(data: &Array2<f64>, k: usize, max_iter: usize)
[INFO] [stdout]    |        ^^^^^^^^^^                               ---------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let assignments = run_kmeans(&matrix, n_clusters, /* usize */).expect("Clustering failed");
[INFO] [stdout]    |                                                     +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> src/main.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let assignments = run_kmeans(&matrix, n_clusters).expect("Clustering failed");
[INFO] [stdout]    |                       ^^^^^^^^^^--------------------- argument #3 of type `usize` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/clustering.rs:7:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub fn run_kmeans(data: &Array2<f64>, k: usize, max_iter: usize)
[INFO] [stdout]    |        ^^^^^^^^^^                               ---------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let assignments = run_kmeans(&matrix, n_clusters, /* usize */).expect("Clustering failed");
[INFO] [stdout]    |                                                     +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for tuple `(ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, Vec<usize>)` in the current scope
[INFO] [stdout]   --> src/main.rs:38:55
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let assignments = run_kmeans(&matrix, n_clusters).expect("Clustering failed");
[INFO] [stdout]    |                                                       ^^^^^^ method not found in `(ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, Vec<usize>)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for tuple `(ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, Vec<usize>)` in the current scope
[INFO] [stdout]   --> src/main.rs:38:55
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let assignments = run_kmeans(&matrix, n_clusters).expect("Clustering failed");
[INFO] [stdout]    |                                                       ^^^^^^ method not found in `(ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, Vec<usize>)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0433, E0593, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0433, E0593, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `football_clustering` (bin "football_clustering") due to 9 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `football_clustering` (bin "football_clustering" test) due to 9 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1cd7243c0f6183762083061fcf032cc6a2143cbff8fc8ca57883236e5bd29b14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cd7243c0f6183762083061fcf032cc6a2143cbff8fc8ca57883236e5bd29b14", kill_on_drop: false }`
[INFO] [stdout] 1cd7243c0f6183762083061fcf032cc6a2143cbff8fc8ca57883236e5bd29b14
